package com.hlx.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hlx.entity.admin.Station;
import com.hlx.entity.admin.Train;
import com.hlx.entity.admin.TrainNumber;
import com.hlx.entity.admin.TrainNumberSeat;

import java.time.LocalDate;
import java.util.List;

public interface TrainNumberSeatService extends IService<TrainNumberSeat> {
    public TrainNumberSeat gerTrainNumberSeatByDateAndTrainNumberId(LocalDate date,Integer trainNumberId);
    public Boolean addTrainNumberSeat(TrainNumber trainNumber, Train train);
    public Boolean deleteTrainNumberByTrainNumberId(Integer trainNumberId);
    public Boolean UpdateTrainNumberSeat(Integer id,LocalDate date,Integer seatType);
}
